package com.zhidisoft.admin.vo;

import org.hibernate.validator.constraints.NotEmpty;

import com.zhidisoft.admin.entity.BaseEntity;

public class ArticleVo extends BaseEntity {
	private static final long serialVersionUID = -6793062770785812967L;

	@NotEmpty(message="不好了，标题不见啦。。。")
	private String title;
	private String imgUrl;
	private String infoTitle;
	@NotEmpty(message="内容不能为空")
	private String info;
	private String createTime;
	private String username;
	private String typeName;
	@NotEmpty(message="文章类型哪去了？")
	private String typeId;
	
	public String getTypeId() {
		return typeId;
	}

	public void setTypeId(String typeId) {
		this.typeId = typeId;
	}

	public String getInfoTitle() {
		return infoTitle;
	}

	public void setInfoTitle(String infoTitle) {
		this.infoTitle = infoTitle;
	}
	public String getTitle() {
		return title;
	}

	public void setTitle(String title) {
		this.title = title;
	}

	public String getImgUrl() {
		return imgUrl;
	}

	public void setImgUrl(String imgUrl) {
		this.imgUrl = imgUrl;
	}

	public String getInfo() {
		return info;
	}

	public void setInfo(String info) {
		this.info = info;
	}

	public String getCreateTime() {
		return createTime;
	}

	public void setCreateTime(String createTime) {
		this.createTime = createTime;
	}

	public String getUsername() {
		return username;
	}

	public void setUsername(String username) {
		this.username = username;
	}

	public String getTypeName() {
		return typeName;
	}

	public void setTypeName(String typeName) {
		this.typeName = typeName;
	}
	
}
